<template>
	<view class="box-test-data">
		<view class="box-now-time">
			<uni-dateformat :date="Date.now()" format="hh:mm"></uni-dateformat>
		</view>
		<view class="box-now-date">
			<uni-dateformat :date="Date.now()" format="yyyy MM月dd日"></uni-dateformat>
		</view>
	</view>
</template>

<script setup></script>

<style scoped lang="scss">
.box-test-data {
	width: 100%;
	@extend .f-c-c;
	flex-direction: column;

	.box-now-time {
		// font-size: 5em;
		font-size: 140rpx;
		line-height: 140rpx;
	}

	.box-now-date {
		font-size: 32rpx;
		margin-top: 5rpx;
	}
}
</style>
